flag.FlagSet.failf (method)

7 uses

	flag (current package)
		flag.go#L1058: func (f *FlagSet) failf(format string, a ...any) error {
		flag.go#L1093: 		return false, f.failf("bad flag syntax: %s", s)
		flag.go#L1115: 		return false, f.failf("flag provided but not defined: -%s", name)
		flag.go#L1121: 				return false, f.failf("invalid boolean value %q for -%s: %v", value, name, err)
		flag.go#L1125: 				return false, f.failf("invalid boolean flag %s: %v", name, err)
		flag.go#L1136: 			return false, f.failf("flag needs an argument: -%s", name)
		flag.go#L1139: 			return false, f.failf("invalid value %q for flag -%s: %v", value, name, err)